function xmlTest() {
    var xml = new XML("<employee position=\"Software Engineer\"><name>Nicholas " +
        "Zakas</name></employee>");
    var list = new XMLList("<item/><item/>");
    var ns = new Namespace("http://www.wrox.com/"); //没有前缀的命名空间
    var wrox = new Namespace("wrox", "http://www.wrox.com/"); //wrox 命名空间
    console.log(ns.uri); //"http://www.wrox.com/"
    console.log(ns.prefix); //undefined
    console.log(wrox.uri); //"http://www.wrox.com/"
    console.log(wrox.prefix); //"wrox"
    var wroxMessage = new QName(wrox, "message"); //表示"wrox:message"
    console.log(wroxMessage.uri); //"http://www.wrox.com/"
    console.log(wroxMessage.localName); //"message"
    xml.setName(wroxMessage);
    xml.setLocalName("newtagname");
}